package com.wzh.yebServe.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author wzh
 * @create 2022/11/13 18:41
 * @Description:
 */
@Data
@TableName("t_role")
@ApiModel(value = "角色实体类")
@AllArgsConstructor
@NoArgsConstructor
public class Role implements Serializable {
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "角色名称")
    private String nameZh;
}
